package com.zhuge_new.Base;

import android.content.Context;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.View;

import com.lzy.okgo.OkGo;

/**
 * Created by Administrator on 2018/10/25.
 */

public class BaseFragment extends Fragment implements BaseView{
    //初始化控件
    public void init_title() { }

    @Override
    public void onDestroy() {
        OkGo.getInstance().cancelTag(this);
        super.onDestroy();
    }

    @Override
    public Context getContext() {
        return getActivity();

    }
}
